//
//  Page.h
//  KiklinkApp
//
//  Created by LF on 14-10-9.
//  Copyright (c) 2014年 Kiklink. All rights reserved.
//

#import "Data.h"

#import "Product.h"
#import "Comment.h"
#import "SellRecord.h"
#import "OrderHeader.h"
#import "OrderItem.h"
#import "FavouriteItem.h"
#import "Message.h"

@interface Page : Data

@property (assign, nonatomic) BOOL firstPage;
@property (assign, nonatomic) BOOL hasNextPage;
@property (assign, nonatomic) BOOL hasPreviousPage;
@property (assign, nonatomic) BOOL lastPage;

@property (assign, nonatomic) NSInteger firstResult;
@property (assign, nonatomic) NSInteger lastPageNumber;
@property (assign, nonatomic) NSInteger nextPageNumber;
@property (assign, nonatomic) NSInteger pageSize;
@property (assign, nonatomic) NSInteger previousPageNumber;
@property (assign, nonatomic) NSInteger thisPageFirstElementNumber;
@property (assign, nonatomic) NSInteger thisPageLastElementNumber;
@property (assign, nonatomic) NSInteger thisPageNumber;
@property (assign, nonatomic) NSInteger totalCount;

@property (strong, nonatomic) NSArray *linkPageNumbers;
@property (strong, nonatomic) NSArray *result;

@end

@interface ProductPage : Page
@end

@interface CommentPage : Page
@end

@interface SellRecordPage : Page
@end

@interface OrderPage : Page
@end

@interface OrderItemPage : Page
@end

@interface FavouriteItemPage : Page
@end

@interface MessagePage : Page
@end

